<template>
  <Breadcrumb :style="{margin: '0 24px 24px'}">
    <BreadcrumbItem>首页</BreadcrumbItem>
    <BreadcrumbItem v-for="(item, index) in items" :key="index">{{item}}</BreadcrumbItem>
  </Breadcrumb>
</template>

<script>
export default {
  name: 'my-breadcrumb',
  data () {
    return {}
  },
  props: ['items'],
  methods: {}
}
</script>

<style scoped>

</style>
